Add GtkLayoutChild
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 19 Dec 2018 16:01:17 +0000 (16:01 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 26 Mar 2019 00:11:27 +0000 (00:11 +0000)
commit5cbf6f5fbdf8146a62fa611b2279f587e34ee1f0
tree12eb9ce0997e62210b71a423fc001b2d1d54c1da
parent15fda18791ae6df027620a2a8a42899f632337a8
Add GtkLayoutChild

Layout managers needs a way to store properties that control the layout
policy of a widget; typically, we used to store these in GtkContainer's
child properties, but since GtkLayoutManager is decoupled from the
actual container widget, we need a separate storage. Additionally, child
properties have their own downsides, like requiring a separate, global
GParamSpecPool storage, and additional lookup API.

GtkLayoutChild is a simple GObject class, which means you can introspect
and document it as you would any other type.
docs/reference/gtk/gtk4-sections.txt
gtk/gtk.h
gtk/gtklayoutchild.c [new file with mode: 0644]
gtk/gtklayoutchild.h [new file with mode: 0644]
gtk/gtklayoutmanager.c
gtk/gtklayoutmanager.h
gtk/meson.build